//
//  LTMViewController.m
//  LTM_Lib_System_Objc
//
//  Created by coenen on 12/14/2021.
//  Copyright (c) 2021 coenen. All rights reserved.
//

#import "LTMViewController.h"

#import <LTM_Lib_System_Objc/UIDevice+LTM_System.h>
@interface LTMViewController ()

@end

@implementation LTMViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    NSLog(@"%@",[UIDevice currentDevice].isBangScreen == true ? @"是刘海屏":@"不是刘海屏");
    NSLog(@"%@",[UIDevice currentDevice].isPad == true ? @"是Pad":@"不是Pad");
    NSLog(@"%@",[UIDevice currentDevice].isSimulator == true ? @"是模拟器":@"不是模拟器");

    NSLog(@"%@",[UIDevice currentDevice].canMakePhoneCalls == true ? @"可以打电话":@"不可以打电话");

    NSLog(@"%@",[UIDevice currentDevice].systemUptime);

    NSLog(@"%.1f",[UIDevice systemVersion]);
    NSLog(@"%lld",[UIDevice currentDevice].diskSpace);
    NSLog(@"%lld",[UIDevice currentDevice].diskSpaceUsed);
    NSLog(@"%lld",[UIDevice currentDevice].memoryTotal);
    NSLog(@"%lld",[UIDevice currentDevice].memoryWired);
    NSLog(@"%lld",[UIDevice currentDevice].memoryPurgable);
    NSLog(@"%ld",[UIDevice currentDevice].cpuCount);
    
    

}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
